#!/bin/bash

echo "Testing mongosync command..."

# 测试mongosync版本
echo "1. Testing mongosync version:"
mongosync --version

echo ""
echo "2. Testing mongosync help:"
mongosync --help

echo ""
echo "3. Testing mongosync with correct parameters (dry run):"
echo "Command that would be executed:"
echo "mongosync --acceptDisclaimer --cluster0 \"mongodb://admin:passwordA@mongodb-source:27017/admin\" --cluster1 \"mongodb://admin:passwordB@mongodb-target:27017/admin\" --verbosity INFO"

echo ""
echo "Test completed!" 